<template>
  <ol>
    <li>消息编号：{{$route.query.id}}</li>
    <li>消息标题：{{$route.query.title}}</li>
    <li>消息内容：{{$route.query.content}}</li>
  </ol>
</template>

<script>
  export default {
    name:'Detail',
    mounted() {
      console.log('Detail挂载了')
    },
    beforeUpdate() {
      console.log('Detail更新了')
    },
  }
</script>